package org.linlinjava.litemall.web.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="获取退款详情响应类",description="获取退款详情响应类")
public class OrderRefundDetailResponseVO {
	
	@ApiModelProperty(value = "退款id")
    private Integer id;
	@ApiModelProperty(value = "订单id")
	private Integer orderId;
	@ApiModelProperty(value = "退款编号")
	private String refundSn;
	@ApiModelProperty(value = "订单编号")
    private String orderSn;
	@ApiModelProperty(value = "外部退款id(clover支付时有值)")
	private String outRefundId;
	@ApiModelProperty(value = "退款的设备编号")
	private String deviceNo;
	@ApiModelProperty(value = "退款商品的总金额")
    private BigDecimal goodsPrice;
	@ApiModelProperty(value = "退款商品的税费")
    private BigDecimal taxPrice;
	@ApiModelProperty(value = "退款总额 = 退款商品的总金额  + 退款商品的税费")
    private BigDecimal price;
	@ApiModelProperty(value = "实际退款总额 (现金支付时为四舍五入的金额，其他支付方式为退款总额)")
    private BigDecimal actualPrice;
	@ApiModelProperty(value = "退款状态：1:退款中,2:退款失败,3:退款成功")
	private Short refundStatus;
	@ApiModelProperty(value = "支付方式：1:现金支付,2:礼物卡支付,3:Paypal支付,4:余额支付,5:Clover支付")
	private Byte refundType;
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime addTime;
	@ApiModelProperty(value = "用户可余额")
    private BigDecimal userAvailableAmount;

	@ApiModelProperty(value = "退款商品集合")
	private List<OrderRefundDetailGoodsVO> goodsList;
	@ApiModelProperty(value = "退款商品税费集合")
    private List<OrderRefundDetailTaxVO> taxs;
	  
}
